package com.bdqn.mapper.IdMapping;

import com.bdqn.entity.IdMapping;
import org.apache.ibatis.annotations.Param;

public interface IdMappingMapper {
    /**
     * 根据编号删除对应信息
     * @param id
     * @return
     */
    boolean deleteIdM(@Param("id") Integer id);

    /**
     * 删除对应采购计划信息
     * @param id
     * @return
     */
    boolean deleteByStId(@Param("id") int id);

    boolean Update(@Param("ida") IdMapping idMapping);

    boolean UpdateId(@Param("ida") IdMapping idMapping);

    boolean UpdateById(@Param("ida") IdMapping idMapping);

    boolean UpdateByAppId(@Param("id") int id);
}
